#include<stdio.h>
int main()
{
    char a='B',b='O',c='Y',d,e,f;
    putchar(a);
    putchar(b);
    putchar(c);
    putchar('\n');
    d=getchar();
    e=getchar();
    f=getchar();
    putchar(d);
    putchar(e);
    putchar(f);
    putchar(getchar());
    return 0;
}